package com.hu.zhcc.shiro.dao.xsx;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.hu.zhcc.shiro.entity.xsx.XsxTMuban;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xsx
 * @since 2021-06-22
 */
public interface TMubanMapper extends BaseMapper<XsxTMuban> {
    //查询所有
    List<XsxTMuban> queryAllMuban();

    //查询启用模板
    List<XsxTMuban> queryQyMuban();


    //添加
    int addMuban(XsxTMuban tMuban);

    //根据ID修改状态
    int updStatue(XsxTMuban tMuban);

    //根据ID查询模板
    XsxTMuban queryById(int id);

    //修改
    int updateMuban(XsxTMuban tMuban);

}
